package com.yhf.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yhf.model.Contractor;
import com.yhf.model.Developer;
import com.yhf.model.Project;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;


@TableName("project")
@Data
@ToString
public class ProjectOv extends Project {
    @TableId(value = "pid",type = IdType.AUTO)
    private int pid;
    //开发商实体属性 一对一
    private Developer developer;
    private Contractor contractor;
}
